package com.mce.nebula.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 应用组创建请求DTO
 */
@Data
public class AppGroupCreateRequest {
    
    @NotBlank(message = "应用组名称不能为空")
    @Size(min = 2, max = 100, message = "应用组名称长度必须在2-100个字符之间")
    private String groupName;
    
    @Size(max = 100, message = "应用组别名长度不能超过100个字符")
    private String groupAlias;
    
    @Size(max = 200, message = "应用组描述长度不能超过200个字符")
    private String description;
    
    @NotBlank(message = "区域名称不能为空")
    private String regionName;
    
    private Boolean isPublic = false;
    
    private Boolean isGovernance = false;
    
    private String governanceMode;
}





